package com.spring.cn.config.autowire;

/**
 * @author liangd
 * date 2020-11-13 16:15
 * code
 */
public class CarBean {
    /**
     * 品牌
     */
    private String brand;
    /**
     * 价格
     */
    private double price;

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "CarBean{" +
                "brand='" + brand + '\'' +
                ", price=" + price +
                '}';
    }

    public CarBean() {
        System.out.println("CarBean is init...");
    }
}
